package com.liqi.remote.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liqi.common.utils.DateUtils;
import com.liqi.device.domain.DvRemoteScreenshot;
import com.liqi.remote.domain.DvSaveLogFile;
import com.liqi.remote.mapper.DvSaveLogFileMapper;
import com.liqi.remote.service.IDvSaveLogFileService;


@Service
public class DvSaveLogFileServiceImpl implements IDvSaveLogFileService{
	

    @Autowired
    private DvSaveLogFileMapper dvSaveLogFileMapper;
    /**
     * 新增远程控制指令操作记录
     * 
     * @param dvRemoteCommand 远程控制指令操作记录
     * @return 结果
     */
    @Override
    public int insertDvRemoteLogFile(DvSaveLogFile dvSaveLogFile)
    {
    	dvSaveLogFile.setCreateTime(DateUtils.getNowDate());
        return dvSaveLogFileMapper.insertDvRemoteLogFile(dvSaveLogFile);
    }
	@Override
	public DvSaveLogFile selectDvSaveLogFile(DvSaveLogFile dvSaveLogFile) {
		return dvSaveLogFileMapper.selectDvDvSaveLogFileList(dvSaveLogFile);
	}
	

}
